#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QList>

#include <XHCPConnection.h>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
private:
    Ui::MainWindow *ui;

    QAction* m_actionNewConnection;

    QList<XHCPConnection*> m_connectionList;

    void setupActions();

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    

public slots:
    void onConnectButtonClick();
    void onDiconnectButtonClick();
    void onListAllDevsButtonClick();
};

#endif // MAINWINDOW_H
